swupdate applications, bootloader, how to update #swupdate #yocto #poky #stefanobabic
Hi,
I can able to update rootfs partition of my device (microprocessor) through stefano babic's swupdate. I want to how to update applications, kernel , bootloader and other partitions through swupdate
Usually, i will get rootfs.ext4.gz on deploy directory of yocto build, i will use that image to update my device. i want to update applications, kernel, bootloader also.
Please help me where to find the image in Yocto build directory for the preparing .swu image for application, bootloader etc.,
Please help me with some guidance,
Thanks in advance
Hi
Here are some examples https://github.com/sbabic/meta-swupdate-boards which update all parts of the firmware.
Regards
Adrian
barath.seeni09_ee via lists.yoctoproject.org <barath.seeni09_ee= [email protected]> schrieb am Sa., 9. Nov. 2024, 10:12:
Quoted 34 lines
Hi,
I can able to update rootfs partition of my device (microprocessor) through stefano babic's swupdate.
I want to how to update applications, kernel , bootloader and other partitions through swupdateUsually, i will get rootfs.ext4.gz on deploy directory of yocto build, i will use that image to update my device. i want to update applications, kernel, bootloader also.
Please help me where to find the image in Yocto build directory for the preparing .swu image for application, bootloader etc.,
Please help me with some guidance,
Thanks in advance
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64239):
https://lists.yoctoproject.org/g/yocto/message/64239
Mute This Topic: https://lists.yoctoproject.org/mt/109479109/4454582
Mute #swupdate:https://lists.yoctoproject.org/g/yocto/mutehashtag/swupdate Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Mute #poky:https://lists.yoctoproject.org/g/yocto/mutehashtag/poky Mute #stefanobabic:
https://lists.yoctoproject.org/g/yocto/mutehashtag/stefanobabic
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
I already checked with this git, but i can't find anything useful for me.
Actually, my rootfs partition is ext4 file system, but other partitions like boot, firmware, are not ext4.
Whether can i only update the ext4 partition not other ?
Have a look at
https://sbabic.github.io/swupdate/sw-description.html#bootloader
I'm pretty sure you get more help at:
Hi All,
I have referred most of the documentations, Every one did the update only using the rootfs or rootf.ext4 image. No one, implemented how to update applications alone, kernel or boot ?
I need to know how to update the individual applications using swupdate?
Please give me the guide to how to update applications, kernel, boot using swupdate.
Thanks
Quoted 10 lines · On Mon, Nov 11, 2024 at 11:33 AM, <[email protected]> wrote:
Hi All,
I have referred most of the documentations, Every one did the update only using the rootfs or rootf.ext4 image.
No one, implemented how to update applications alone, kernel or boot ?I need to know how to update the individual applications using swupdate?
I'm no expert on swupdate, but I believe it's not possible to update individual packages with it, but rather whole partitions (take a look at AB boot). Also, it's not a good practice to update single packages as (1) ABI compatibility is not checked, so it can easily happen you new package is not compatible with the rest of the system and (2) this would invalidate the fail-safe feature of the update procedure - if there's a power outage during an update, your system might get bricked.
Aleksandar
Quoted 9 lines
Please give me the guide to how to update applications, kernel, boot using swupdate.
Thanks